package com.jyx.spring.action.service.impl;

import com.jyx.spring.action.service.IInstrument;

/**
 * 乐器萨克斯：可以发出萨克斯的声音
 * author jyx
 * email jyxsuper@163.com
 * description: SaxOfPoem
 * Company: myzczk
 * datetime: 2016年11月22日 下午2:27:22
 */
public class InstrumentOfSax implements IInstrument {

	/** 当期乐器发出的声音：DongDong/XiXi/QiangQiang... ... */
	private String sound = "TOOT TOOT TOOT";
	
	@Override
	public void play() {
		System.out.println(sound);
	}

	/** 当期乐器发出的声音：DongDong/XiXi/QiangQiang... ... */
	public String getSound() {
		return sound;
	}

	/** 当期乐器发出的声音：DongDong/XiXi/QiangQiang... ... */
	public void setSound(String sound) {
		this.sound = sound;
	}
	

}
